package com.example.springboot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.springboot.domain.Menu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MenuMapper extends BaseMapper<Menu> {
    public List<Menu> getRoleMenu(@Param("roleId")  Integer roleId);

    public List<String> getRoleMenuUrl(@Param("roleId")  Integer roleId);
}
